﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;

namespace TestDBSourceToolsLibNUnit
{
    class TestZZStackOverflowCode
    {
        public void TestSMOTriggers()
        {
            Microsoft.SqlServer.Management.Smo.Table table = new Microsoft.SqlServer.Management.Smo.Table();

            Microsoft.SqlServer.Management.Smo.ScriptingOptions oScriptingOptions 
                = new Microsoft.SqlServer.Management.Smo.ScriptingOptions();
            oScriptingOptions.Triggers = true;

            StringCollection myStrColl = new StringCollection();
            myStrColl = table.Script(oScriptingOptions);

            //table.Indexes.Add(pk);

        }
    }
}
